import {request} from './request';

export const mockLogin = id => {
    return request({
        url: `/api/open/user/${id}/_mock-login`,
        method: 'get'
    });
};

export const fetchMe = () => {
    return request({
        url: `/api/token/user/_me`,
        method: 'get'
    });
};